#ifndef ITEMVIEW_H
#define ITEMVIEW_H

#include <QtGui>
#include "core/baseview.h"
#include "gui/itemviewdetailsdialog.h"

class ItemView : public BaseView
{
    Q_OBJECT
public:
    explicit ItemView(QWidget *parent = 0);

signals:

public slots:
    void onDataUpdate(QList<BaseModel *> models);
    void onDetailsRequested(BaseModel *model);
    void onAddButtonClicked();
    void onReportsButtonClicked();

protected:
    QHBoxLayout *createBottomComponents();
    void initViewComponents();
    void initViewSignalsAndSlots();

private:

};

#endif // ITEMVIEW_H
